<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link th:href="@{/ajax/libs/summernote/summernote.css}" rel="stylesheet"/>
<link th:href="@{/ajax/libs/summernote/summernote-bs3.css}" rel="stylesheet"/>

<body class="white-bg">
<style>
    .content{
        margin-top:6px ;
    }
    .form-group{
        margin-bottom: 0px;
    }
</style>

<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-lvyou-shenpiinfo" th:object="${lvyou}">
        <input id="lvId" name="lvId" th:field="*{lvId}"  type="hidden">

        <div class="form-group">
            <label class="col-sm-3 control-label">审批意见：</label>
            <div class="col-sm-8">
                <div class="content" th:utext="*{lvShenpi}"></div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">审批状态：</label>
            <div class="col-sm-8">
                <div id="lvStatus" name="lvStatus" th:utext="*{lvStatus}" class="content" type="text"></div>
            </div>
        </div>
    </form>

</div>
<div th:include="include::footer"></div>
<script th:src="@{/ajax/libs/summernote/summernote.min.js}"></script>
<script th:src="@{/ajax/libs/summernote/summernote-zh-CN.js}"></script>
<script type="text/javascript">
    var prefix = ctx + "system/lvyou";
    $("#form-lvyou-shenpiinfo").validate({
        rules: {
            xxxx: {
                required: true,
            },
        }
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/shenpiinfo", $('#form-lvyou-shenpiinfo').serialize());
        }
    }

</script>
</body>
</html>
